package org.jeecg.modules.simulator.model.line.station.equipment;

import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.Map;

/**
 * @program: gp2
 * @description:
 * @author: renzhg
 * @create: 2024-08-20 09:58
 **/
public class StationConcourser {
@Getter
@Setter
    long area;
//    int maxcontain;
//    int currentContain;
//    String belongLineId;
@Getter
@Setter
   int crossTime;
    @Getter
    @Setter
   int limitSpeed;
    @Getter
    @Setter
   boolean open;
    @Getter
    @Setter
    Integer maxPersonNum=600;//站厅最大人数



    Map<String, TicketChecker> ticketCheckerMap=new HashMap<>();
    Map<String, SideDoor> sideDoorMap=new HashMap<>();
//region 暂时注释掉
    //    Map<String, Person> inputRDDs=new HashMap<>();
//    Map<String, Person>  outputRDDs=new HashMap<>();
//endregion
    long getStationConcourserArea(){
        return this.area;
    }


//    int getConcourserMaxcontain(){
//        return this.maxcontain;
//    }

    /**
     * 当前站厅存量人数
     * @return
     */
    int caculateCurrentPersons(){
        return 0;
    }
    /**
     * 当前站厅还可接纳人数
     * @return
     */
    public int caculateCurrentLeftPersons(){
        return 0;
    }
}
